Style

abstract class Style(source)

An object that can apply a rich notification style to a Notification.Builder object. If the platform does not provide rich notification styles, methods in this class have no effect.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
This is called with the extras of the framework Notification during the build process, after apply() has been called.
Link copied to clipboard
Applies the compat style data to the framework Notification in a backwards compatible way.
Link copied to clipboard
open fun applyStandardTemplate(showSmallIcon: Boolean, resId: Int, fitIn1U: Boolean): RemoteViews
Link copied to clipboard
If this Style object has been set on a notification builder, this method will build that notification and return it.
Link copied to clipboard
Link copied to clipboard
open fun createColoredBitmap(iconId: Int, color: Int): Bitmap
Create a bitmap using the given icon together with a color filter created from the given color.
Link copied to clipboard
Link this rich notification style with a notification builder.